#ifndef SETWIG_H
#define SETWIG_H

#include <QWidget>
#include <QComboBox>
#include <QPushButton>
#include <QJsonDocument>
#include <QJsonObject>
#include <QMessageBox>
#include "mqtthandler.h"
#include <QTimer>
namespace Ui {
class SetWig;
}

class SetWig : public QWidget
{
    Q_OBJECT

public:
    explicit SetWig(QWidget *parent = 0);
    ~SetWig();

private slots:

    void on_T_button_clicked();

    void on_C_button_clicked();

    void on_R_button_clicked();

    void updateTime();

private:
    Ui::SetWig *ui;
    QTimer *timeUpdateTimer;
};

#endif // SETWIG_H
